package com.ft.oa.service.development;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ft.oa.domain.development.DevNeed;
import com.ft.oa.domain.development.DevProduct;
import com.ft.oa.domain.development.NeedAnalyse;
import com.ft.oa.domain.dto.ApiResult;

import java.util.ArrayList;
import java.util.Map;

public interface DevNeedAnalyseService {

    /**
     * 需求分析分页
     *
     * @param devNeed
     * @return
     */
    Page<DevNeed> page(DevNeed devNeed);


    /**
     * 增加需求分析文件
     *
     * @param needAnalyse
     * @return
     */
    ApiResult addNeedAttachment(NeedAnalyse needAnalyse);

    Page<NeedAnalyse> needAnalysePage(Map<String, Object> params);

    void needAnalyseUpdate(NeedAnalyse needAnalyse);

    void needAnalyseDelete(NeedAnalyse needAnalyse);

}
